package cn.micro.eye.type;

import cn.micro.eye.commons.validate.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;
import java.util.List;

/**
 * 客户端类别
 *
 * @author lry
 */
@Getter
@AllArgsConstructor
public enum ClientCategoryEnum implements IEnum {

    ADMIN(1, "ADMIN"),
    WX(2, "微信"),
    ALI(3, "支付宝"),
    H5(4, "H5");

    public static final List<Integer> GROUP = Arrays.asList(1, 2, 3, 4);

    private final int value;
    private final String title;

}
